package com.dupf.product.dao.model;

import java.io.Serializable;

public class ProductLogisticsSetting implements Serializable {
    /**
     * 编号
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 组织编号
     *
     * @mbg.generated
     */
    private Integer orgId;

    /**
     * 最小重量，单位千克
     *
     * @mbg.generated
     */
    private Float lweight;

    /**
     * 最大重量，单位千克
     *
     * @mbg.generated
     */
    private Float hweight;

    /**
     * 中国,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsCn;

    /**
     * 美国,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsUs;

    /**
     * 加拿大,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsCa;

    /**
     * 英国,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsUk;

    /**
     * 德国,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsDe;

    /**
     * 西班牙,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsEs;

    /**
     * 意大利,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsIt;

    /**
     * 法国,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsFr;

    /**
     * 墨西哥,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsMx;

    /**
     * 日本,物流编号
     *
     * @mbg.generated
     */
    private Integer logisticsJp;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Long ctime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Float getLweight() {
        return lweight;
    }

    public void setLweight(Float lweight) {
        this.lweight = lweight;
    }

    public Float getHweight() {
        return hweight;
    }

    public void setHweight(Float hweight) {
        this.hweight = hweight;
    }

    public Integer getLogisticsCn() {
        return logisticsCn;
    }

    public void setLogisticsCn(Integer logisticsCn) {
        this.logisticsCn = logisticsCn;
    }

    public Integer getLogisticsUs() {
        return logisticsUs;
    }

    public void setLogisticsUs(Integer logisticsUs) {
        this.logisticsUs = logisticsUs;
    }

    public Integer getLogisticsCa() {
        return logisticsCa;
    }

    public void setLogisticsCa(Integer logisticsCa) {
        this.logisticsCa = logisticsCa;
    }

    public Integer getLogisticsUk() {
        return logisticsUk;
    }

    public void setLogisticsUk(Integer logisticsUk) {
        this.logisticsUk = logisticsUk;
    }

    public Integer getLogisticsDe() {
        return logisticsDe;
    }

    public void setLogisticsDe(Integer logisticsDe) {
        this.logisticsDe = logisticsDe;
    }

    public Integer getLogisticsEs() {
        return logisticsEs;
    }

    public void setLogisticsEs(Integer logisticsEs) {
        this.logisticsEs = logisticsEs;
    }

    public Integer getLogisticsIt() {
        return logisticsIt;
    }

    public void setLogisticsIt(Integer logisticsIt) {
        this.logisticsIt = logisticsIt;
    }

    public Integer getLogisticsFr() {
        return logisticsFr;
    }

    public void setLogisticsFr(Integer logisticsFr) {
        this.logisticsFr = logisticsFr;
    }

    public Integer getLogisticsMx() {
        return logisticsMx;
    }

    public void setLogisticsMx(Integer logisticsMx) {
        this.logisticsMx = logisticsMx;
    }

    public Integer getLogisticsJp() {
        return logisticsJp;
    }

    public void setLogisticsJp(Integer logisticsJp) {
        this.logisticsJp = logisticsJp;
    }

    public Long getCtime() {
        return ctime;
    }

    public void setCtime(Long ctime) {
        this.ctime = ctime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orgId=").append(orgId);
        sb.append(", lweight=").append(lweight);
        sb.append(", hweight=").append(hweight);
        sb.append(", logisticsCn=").append(logisticsCn);
        sb.append(", logisticsUs=").append(logisticsUs);
        sb.append(", logisticsCa=").append(logisticsCa);
        sb.append(", logisticsUk=").append(logisticsUk);
        sb.append(", logisticsDe=").append(logisticsDe);
        sb.append(", logisticsEs=").append(logisticsEs);
        sb.append(", logisticsIt=").append(logisticsIt);
        sb.append(", logisticsFr=").append(logisticsFr);
        sb.append(", logisticsMx=").append(logisticsMx);
        sb.append(", logisticsJp=").append(logisticsJp);
        sb.append(", ctime=").append(ctime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ProductLogisticsSetting other = (ProductLogisticsSetting) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrgId() == null ? other.getOrgId() == null : this.getOrgId().equals(other.getOrgId()))
            && (this.getLweight() == null ? other.getLweight() == null : this.getLweight().equals(other.getLweight()))
            && (this.getHweight() == null ? other.getHweight() == null : this.getHweight().equals(other.getHweight()))
            && (this.getLogisticsCn() == null ? other.getLogisticsCn() == null : this.getLogisticsCn().equals(other.getLogisticsCn()))
            && (this.getLogisticsUs() == null ? other.getLogisticsUs() == null : this.getLogisticsUs().equals(other.getLogisticsUs()))
            && (this.getLogisticsCa() == null ? other.getLogisticsCa() == null : this.getLogisticsCa().equals(other.getLogisticsCa()))
            && (this.getLogisticsUk() == null ? other.getLogisticsUk() == null : this.getLogisticsUk().equals(other.getLogisticsUk()))
            && (this.getLogisticsDe() == null ? other.getLogisticsDe() == null : this.getLogisticsDe().equals(other.getLogisticsDe()))
            && (this.getLogisticsEs() == null ? other.getLogisticsEs() == null : this.getLogisticsEs().equals(other.getLogisticsEs()))
            && (this.getLogisticsIt() == null ? other.getLogisticsIt() == null : this.getLogisticsIt().equals(other.getLogisticsIt()))
            && (this.getLogisticsFr() == null ? other.getLogisticsFr() == null : this.getLogisticsFr().equals(other.getLogisticsFr()))
            && (this.getLogisticsMx() == null ? other.getLogisticsMx() == null : this.getLogisticsMx().equals(other.getLogisticsMx()))
            && (this.getLogisticsJp() == null ? other.getLogisticsJp() == null : this.getLogisticsJp().equals(other.getLogisticsJp()))
            && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrgId() == null) ? 0 : getOrgId().hashCode());
        result = prime * result + ((getLweight() == null) ? 0 : getLweight().hashCode());
        result = prime * result + ((getHweight() == null) ? 0 : getHweight().hashCode());
        result = prime * result + ((getLogisticsCn() == null) ? 0 : getLogisticsCn().hashCode());
        result = prime * result + ((getLogisticsUs() == null) ? 0 : getLogisticsUs().hashCode());
        result = prime * result + ((getLogisticsCa() == null) ? 0 : getLogisticsCa().hashCode());
        result = prime * result + ((getLogisticsUk() == null) ? 0 : getLogisticsUk().hashCode());
        result = prime * result + ((getLogisticsDe() == null) ? 0 : getLogisticsDe().hashCode());
        result = prime * result + ((getLogisticsEs() == null) ? 0 : getLogisticsEs().hashCode());
        result = prime * result + ((getLogisticsIt() == null) ? 0 : getLogisticsIt().hashCode());
        result = prime * result + ((getLogisticsFr() == null) ? 0 : getLogisticsFr().hashCode());
        result = prime * result + ((getLogisticsMx() == null) ? 0 : getLogisticsMx().hashCode());
        result = prime * result + ((getLogisticsJp() == null) ? 0 : getLogisticsJp().hashCode());
        result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
        return result;
    }
}